/*
 * Copyright (c) 2007 centrevillage <centrevillage@gmail.com>
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
#ifndef  __RAVI_FUNCTIONS_HPP__
#define  __RAVI_FUNCTIONS_HPP__

// ravi
#include "types.hpp"

namespace ravi {

val_t native_puts(arg_t& argv); 
val_t native_gets(arg_t& argv); 
val_t native_len(arg_t& argv); 
// shallow copy
val_t native_copy(arg_t& argv); 
// deep copy
val_t native_clone(arg_t& argv); 

val_t native_typename(arg_t& argv); 

val_t native_bindmember(arg_t& argv);
val_t native_unbindmember(arg_t& argv);
val_t native_member(arg_t& argv);

//val_t native_bind_type(arg_t& argv);
//val_t native_extend(arg_t& argv);

val_t native_join(arg_t& argv);
val_t native_keys(arg_t& argv);
val_t native_items(arg_t& argv);
val_t native_remove(arg_t& argv);
val_t native_split(arg_t& argv);
val_t native_string(arg_t& argv);
val_t native_int(arg_t& argv);
val_t native_new(arg_t& argv);

val_t native_readable(arg_t& argv);
val_t native_read(arg_t& argv);
val_t native_readlines(arg_t& argv);
val_t native_write(arg_t& argv);
val_t native_writelines(arg_t& argv);
val_t native_delete(arg_t& argv);

val_t native_spart(arg_t& argv);
val_t native_ssub(arg_t& argv);
val_t native_matchstr(arg_t& argv);
val_t native_match(arg_t& argv);
val_t native_matchlist(arg_t& argv);

val_t native_from(arg_t& argv);
val_t native_to(arg_t& argv);

val_t native_clear(arg_t& argv);
val_t native_rand(arg_t& argv);

}		/* -----  end of namespace  ravi  ----- */

#endif   /* ----- #ifndef __RAVI_FUNCTIONS_HPP__  ----- */
